package com.oracle.service;

import com.oracle.pojo.News;

import java.util.List;

public interface NewsService {
    List<News> getAllNews();
    boolean addNews(News news);
    News getNewsById(Integer id);
    boolean deleteNewsById(Integer id);
}
